package com.luckzj.sec.bridge;

import com.luckzj.sec.config.BridgeConfig;
import io.netty.channel.socket.SocketChannel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * A TcpBridge start a tcp port listening and should transfer all network flow to destination
 */
public class TcpBridge extends PackageLoggingBridge {
    private static Logger logger = LoggerFactory.getLogger(TcpBridge.class);

    public TcpBridge(BridgeConfig bridgeConfig) {
        super(bridgeConfig);
    }

    @Override
    protected void setupServerChannel(SocketChannel ch) {
        super.setupServerChannel(ch);
    }

    @Override
    protected void setupClientChannel(SocketChannel ch) {
        super.setupClientChannel(ch);
    }
}
